package com.daka.service.impl;

import com.daka.dao.GroupVolunteerMapper;
import com.daka.entity.GroupVolunteer;
import com.daka.service.GroupVolunteerService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author beliveli on 2016/3/31 0031.
 */
@Service("groupVolunteerService")
@SuppressWarnings("unused")
public class GroupVolunteerServiceImpl implements GroupVolunteerService {

    @Resource(name = "groupVolunteerMapper")
    private GroupVolunteerMapper groupVolunteerMapper;


    public GroupVolunteer selectById(int id) {
        return groupVolunteerMapper.selectById(id);
    }

    public List<GroupVolunteer> selectByOrg(int orgId) {
        return groupVolunteerMapper.selectByOrg(orgId);
    }

    public List<GroupVolunteer> selectAll() {
        return groupVolunteerMapper.selectAll();
    }
}
